//
//  EJSSegmentedControlCollectionViewCell.m
//  EnjoyShoppingStreet
//
//  Created by lifayu on 2017/12/14.
//  Copyright © 2017年 lifayu. All rights reserved.
//

#import "EJSSegmentedControlCollectionViewCell.h"

@implementation EJSSegmentedControlCollectionViewCell

- (void)awakeFromNib {
    [super awakeFromNib];
    // Initialization code
    self.contentView.backgroundColor = UIColorFromRGB(0x3C4151);
}

- (void)setSelected:(BOOL)selected
{
    [super setSelected:selected];
    if(selected)
    {
        self.arrorImageView.hidden = NO;
        self.contentView.backgroundColor = AppMainColor;
    }
    else
    {
        self.arrorImageView.hidden = YES;
        self.contentView.backgroundColor = UIColorFromRGB(0x3C4151);
    }
}
- (void)setHighlighted:(BOOL)highlighted
{
    
}

@end
